<?php if($supplier){?>
<div class="field_row clearfix">	
<?php echo form_label(lang('common_abn_acn').':', 'abn_acn'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'abn_acn',
		'id'=>'abn_acn',
		'value'=>$person_info->abn_acn));?>
	</div>
</div>
<?php } ?>
<div class="field_row clearfix">	
<?php echo form_label(lang('common_first_name').':', 'first_name',array('class'=>'required')); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'first_name',
		'id'=>'first_name',
		'value'=>$person_info->first_name)
	);?>
	</div>
</div>
<div class="field_row clearfix">	
<?php echo form_label(lang('common_last_name').':', 'last_name',array('class'=>'required')); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'last_name',
		'id'=>'last_name',
		'value'=>$person_info->last_name)
	);?>
	</div>
</div>

<div class="field_row clearfix">	
<?php echo form_label(lang('common_company').':', 'company'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'company',
		'id'=>'company',
		'value'=>$person_info->company_name));?>
	</div>
</div>

<div class="field_row clearfix">	
<?php echo form_label(lang('common_address_1').':', 'address_1'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'address_1',
		'id'=>'address_1',
		'value'=>$person_info->address_1));?>
	</div>
</div>

<div class="field_row clearfix">	
<?php echo form_label(lang('common_suburd').':', 'suburd'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'suburd',
		'id'=>'suburd',
		'value'=>$person_info->suburd));?>
	</div>
</div>

<div class="field_row clearfix">	
<?php echo form_label(lang('common_state').':', 'state'); ?>
	<div class='form_field'>
	<?php echo form_dropdown('state', $state_options, $person_info->state);?>
	</div>
</div>

<div class="field_row clearfix">	
<?php echo form_label(lang('common_zip').':', 'zip'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'zip',
		'id'=>'zip',
		'value'=>$person_info->zip));?>
	</div>
</div>

<div class="field_row clearfix">	
<?php echo form_label(lang('common_email').':', 'email'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'email',
		'id'=>'email',
		'value'=>$person_info->email)
	);?>
	</div>
</div>

<div class="field_row clearfix">
<?php echo form_label($this->lang->line('common_phone_number').':', 'phone_number'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'phone_number',
		'id'=>'phone_number',
		'value'=>$person_info->phone_number));?>
	</div>
</div>

<?php if($supplier){?>
<div class="field_row clearfix">	
<?php echo form_label(lang('common_fax').':', 'fax'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'fax',
		'id'=>'fax',
		'value'=>$person_info->fax)
	);?>
	</div>
</div>

<div class="field_row clearfix">	
<?php echo form_label($this->lang->line('common_comments').':', 'comments'); ?>
	<div class='form_field'>
	<?php echo form_textarea(array(
		'name'=>'comments',
		'id'=>'comments',
		'value'=>$person_info->comments,
		'rows'=>'5',
		'cols'=>'17')		
	);?>
	</div>
</div>
<?php } ?>

<?php if($employee){?>
<div class="field_row clearfix">
<?php echo form_label($this->lang->line('common_discount').':', 'discount'); ?>
	<div class='form_field'>
	<?php echo form_input(array(
		'name'=>'discount',
		'id'=>'discount',
		'value'=>$person_info->discount));?>
	</div>
</div>
<?php } ?>